<?php


namespace app\common\lib;


class Key
{
    /**
     * userCart 记录用户购物车的Redis Key
     * @param $userId
     * @return string
     */
    public static function userCart($userId){
        return config('redis.cart_pre').$userId;
    }
}